import { Layout } from '@fl/utils/routerHelper'

const evaluationManagement: AppRouteRecordRaw = {
    children: [
        // #region 产业测评
        {
            children: [
                {
                    component: () => import('@/pages/evaluation-management/industry-evaluation/index.vue'),
                    meta: {
                        title: '产业测评',
                    },
                    name: 'evaluation-management-industry-index',
                    path: 'index',
                },
                {
                    component: () => import('@/pages/evaluation-management/industry-evaluation/components/add-or-edit.vue'),
                    meta: {
                        activeMenu: '/house-source-center/evaluation-management/industry-evaluation/index',
                        hidden: true,
                        noTagsView: true,
                        title: '园区-add',
                    },
                    name: 'evaluation-management-industry-add',
                    path: 'add',
                },
                {
                    component: () => import('@/pages/evaluation-management/industry-evaluation/components/add-or-edit.vue'),
                    meta: {
                        activeMenu: '/house-source-center/evaluation-management/industry-evaluation/index',
                        hidden: true,
                        noTagsView: true,
                        title: '园区-edit',
                    },
                    name: 'evaluation-management-industry-edit',
                    path: ':id/edit',
                },
                {
                    component: () => import('@/pages/evaluation-management/industry-evaluation/company/index.vue'),
                    meta: {
                        activeMenu: '/house-source-center/evaluation-management/industry-evaluation/index',
                        hidden: true,
                        noTagsView: true,
                        title: '园区企业列表',
                    },
                    name: 'evaluation-management-industry-company-index',
                    path: 'company/index',
                },
                {
                    component: () => import('@/pages/evaluation-management/industry-evaluation/company/add-or-edit.vue'),
                    meta: {
                        activeMenu: '/house-source-center/evaluation-management/industry-evaluation/index',
                        hidden: true,
                        noTagsView: true,
                        title: '企业-add',
                    },
                    name: 'evaluation-management-industry-company-add',
                    path: 'org-add',
                },
                {
                    component: () => import('@/pages/evaluation-management/industry-evaluation/company/add-or-edit.vue'),
                    meta: {
                        activeMenu: '/house-source-center/evaluation-management/industry-evaluation/index',
                        hidden: true,
                        noTagsView: true,
                        title: '企业-edit',
                    },
                    name: 'evaluation-management-industry-company-edit',
                    path: 'org/:id/edit',
                },
            ],
            meta: {
                icon: 'i-clarity:contract-line',
                title: '产业测评',
            },
            name: 'evaluation-management-industry',
            path: 'industry-evaluation',
        },
        // #endregion


        // #region 其他模块

        // #endregion
        
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        icon: 'i-clarity:contract-line',
        title: '测评管理',
    },
    name: 'house-source-center-evaluation-management',
    path: 'evaluation-management',
}

export default evaluationManagement
